<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
<input name="admin" type="hidden" value="1">
<input name="module" type="hidden" value="payment">
<input name="act" type="hidden" value="save">
<input name="gateway" type="hidden" value="webmoney">
<input name="referer" type="hidden" value="{ext->get_referer}">
{ext->class_function class="payment" func="get_gateway_data" gateway="webmoney" assign="hanza_data"}
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF; border:15px solid #FFFFFF;">
	<tr>
		<td height="20" width="220">{t t="Merchant's purse"} (Z145179295679)</td>		
		<td><input type="text" name="LMI_PAYEE_PURSE" maxlength="255" class="defaultInputText" style="width:300px;" value='{if $hanza_data.LMI_PAYEE_PURSE}{$hanza_data.LMI_PAYEE_PURSE|escape:"html"}{/if}'></td>
	</tr>
	<tr>
		<td height="20" width="220">{t t="Secret Key"} (xx-yy-zz)</td>		
		<td><input type="text" name="LMI_SECRET_KEY" maxlength="255" class="defaultInputText" style="width:300px;" value='{if $hanza_data.LMI_SECRET_KEY}{$hanza_data.LMI_SECRET_KEY|escape:"html"}{/if}'></td>
	</tr>
	<tr>
		<td height="20">{t t="Test mode"}</td>		
		<td>
			<select style="width:360px; margin:2px 20px 2px 0px;" name="LMI_SIM_MODE">					
				<option value=""{if $hanza_data.LMI_SIM_MODE == ''} selected{/if}>{t t='Test mode disable'}</option>
				<option value="0"{if $hanza_data.LMI_SIM_MODE == '0'} selected{/if}>{t t='All test payments will be successful.'}</option>
				<option value="1"{if $hanza_data.LMI_SIM_MODE == '1'} selected{/if}>{t t='All test payments will fail.'}</option>
				<option value="2"{if $hanza_data.LMI_SIM_MODE == '2'} selected{/if}>{t t='80% of test payments will be successful, 20% of test payments will fail.'}</option>
			</select>		
		</td>
	</tr>
	<tr>
		<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	<tr>
		<td height="20">{t t="Url then OK"}</td>		
		<td><input type="text" name="URL_OK" maxlength="255" class="defaultInputText" style="width:500px;" value='{if $hanza_data.URL_OK}{$hanza_data.URL_OK|escape:"html"}{/if}'></td>
	</tr>
	<tr>
		<td height="20">{t t="Url then CANCEL"}</td>		
		<td><input type="text" name="URL_CANCEL" maxlength="255" class="defaultInputText" style="width:500px;" value='{if $hanza_data.URL_CANCEL}{$hanza_data.URL_CANCEL|escape:"html"}{/if}'></td>
	</tr>
	<tr>
		<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td bgcolor="#FFFFFF" height="5" width="150">						
		<input onClick="doSubmit('child_list'); return false;" type="button" value="{t t="Išsaugoti pakeitimus"}" class="defaultFormButton" style="margin:15px ">
		</td>		
		<td bgcolor="#FFFFFF" height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
</table>
</form>
{error->LoadErrorArray assign='errors'}
{if $errors.payment_hanza.25 || $errors.payment_hanza.26 || $errors.payment_hanza.27}
	<script language="javascript1.4" type="text/javascript">
		var str = String;
		{if $errors.payment_egold.25}str = "{t t='error_code_25'}\n";{/if}
		{if $errors.payment_egold.26}str += "{t t='error_code_26'}\n";{/if}
		{if $errors.payment_egold.27}str += "{t t='error_code_27'}";{/if}
		alert(str);
	</script>
{/if}